


package com.wake.widget.widget.section;

import androidx.annotation.NonNull;
import android.view.View;
import android.view.ViewGroup;

public abstract class NMUIDefaultStickySectionAdapter<
        H extends NMUISection.Model<H>,
        T extends NMUISection.Model<T>> extends
        NMUIStickySectionAdapter<H, T, NMUIStickySectionAdapter.ViewHolder> {

    public NMUIDefaultStickySectionAdapter() {
    }

    public NMUIDefaultStickySectionAdapter(boolean removeSectionTitleIfOnlyOneSection) {
        super(removeSectionTitleIfOnlyOneSection);
    }

    @NonNull
    @Override
    protected ViewHolder onCreateSectionLoadingViewHolder(@NonNull ViewGroup viewGroup) {
        return new ViewHolder(new View(viewGroup.getContext()));
    }

    @NonNull
    @Override
    protected ViewHolder onCreateCustomItemViewHolder(@NonNull ViewGroup viewGroup, int type) {
        return new ViewHolder(new View(viewGroup.getContext()));
    }
}
